<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<style>
    .con input[type="text"]{
        border: 3px solid green;
    }
    .con input[mytag="jinxl"]{
        border: 3px solid red;
    }
</style>
<div class="con">
    <input type="text" name="username">
    <input mytag="jinxl" type="text" >
    <input type="file" >
    <input type="password" >
    <input type="button" >
    <input type="checkbox" >
    <input type="reset" >
</div>
</body>
</html>